//
//  LSZSpecialPackaging.h
//  JKFuYinProject
//
//  Created by 九酷 on 2017/9/19.
//  Copyright © 2017年 LC. All rights reserved.
//

#import <Foundation/Foundation.h>
@interface LSZSpecialPackaging : NSObject
typedef void (^strNetwork)(NSString *);

#pragma mark - 在view上 任意话一条线自定义颜色
+(id)addThreadWithOtherRGB:(UIView *)view A:(NSInteger)A B:(NSInteger)B C:(NSInteger)C D:(NSInteger)D R:(NSInteger)R G:(NSInteger)G BB:(NSInteger)BB;
#pragma mark - 时间戳的转换
+(NSString *)TimeStamp:(NSString *)strTime;
#pragma mark - 获取当前月
+(NSString *)GetTheCurrentMonth;
#pragma mark - 获取当前时间
+(NSString *)GetTheCurrentMonthDay;
#pragma mark - 获取之前的时间和现在的比
+(NSString *)GetThePreviousTimeAndCompareItNow :(NSString *)GetTime;
#pragma mark - 热文时间
+(NSString *)hotTime :(NSString *)time;

//数据解析的地方用的
//+(NSString *)addPlaylistWithArrayData:(NSArray *)arrayData;
////
//+(void)shareShengJingMessageWithViewController:(UIViewController *)viewController
//                                    imageArray:(NSArray *)imageArray
//                                           url:(NSString *)url
//                                         title:(NSString *)title
//                                contentMessage:(NSString *)messageBody
//                                          type:(SSDKContentType)type;
//
//视频
+(void)shareWXWithViewController  :(NSString *)url
                             title:(NSString *)title
                              type:(int)type;
//网页
+(void)shareWXWithWebPage  :(NSString *)url
                      title:(NSString *)title
                       type:(int)type;
+ (BOOL)isValidateMobile:(NSString *)mobile;

+ (void)Reachability :(strNetwork)block;

///读取双击文章功能打开还是关闭
+ (BOOL)isDoubleClickSwitch;
+ (NSString *)convert:(CGFloat)time;
+(CGFloat)caculateWidthOfText :(CGFloat)width height:(CGFloat)height font:(CGFloat)font :(NSString * )text;
@end
